﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="LienHeList.ascx.cs" Inherits="BackEnd_LienHeList" %>
<%@ Register src="LienHeModify.ascx" tagname="LienHeModify" tagprefix="uc1" %>
<table id="Table2" cellspacing="1" cellpadding="1">
    <tr>
        <td class="toolbar" align="left">
           Liên Hệ
        </td>
    </tr>
    
    <tr style="text-align: left">
        <td align="center" colspan="4" style="width: 908px">
            <asp:Label ID="labMessage" runat="server" Width="100%" ForeColor="Red" Font-Bold="True"></asp:Label>
        </td>
    </tr>
    <tr>
        <td align="left">
            <asp:GridView runat="server" ShowHeader="true" ID="grid" BorderColor="#CC9966" BorderStyle="None"
                BorderWidth="1px" RowStyle-BorderWidth="0" RowStyle-BorderStyle="None" Width="100%"
                AlternatingRowStyle-BackColor="#f8f8f8" AlternatingRowStyle-BorderColor="#f8f8f8"
                HeaderStyle-BackColor="#F1F1F1" CellPadding="4" AutoGenerateColumns="False" AutoGenerateDeleteButton="True"
                OnRowDeleting="grid_RowDeleting" AllowSorting="True" BackColor="White" ShowFooter="True"
                AllowPaging="True" PageSize="20">
                
                <Columns>
                    <asp:TemplateField HeaderText="Tên">
                        <ItemTemplate>
                           <%#Eval(Component.ColumLienHe._Name)%>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:TemplateField>
                    
                   <asp:TemplateField HeaderText="Email">
                        <ItemTemplate>
                            <%#Eval(Component.ColumLienHe._Email)%>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:TemplateField>    
                    <asp:TemplateField HeaderText="Số Điện Thoại">
                        <ItemTemplate>
                            <%#Eval(Component.ColumLienHe._Phone)%>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:TemplateField> 
                    <asp:TemplateField HeaderText="Địa Chỉ">
                        <ItemTemplate>
                            <%#Eval(Component.ColumLienHe._Adress)%>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:TemplateField> 
                    <asp:TemplateField HeaderText="Tiêu Đề">
                        <ItemTemplate>
                            <%#Eval(Component.ColumLienHe._Title)%>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:TemplateField>    
                    <asp:TemplateField HeaderText="Nội Dung">
                        <ItemTemplate>
                            <%#Eval(Component.ColumLienHe._Content)%>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:TemplateField>  
                </Columns>
                <RowStyle BorderStyle="None" BorderWidth="0px" />
                <HeaderStyle BackColor="#F1F1F1" />
                <AlternatingRowStyle BackColor="#F8F8F8" BorderColor="#F8F8F8" />
            </asp:GridView>
        </td>
    </tr>
</table>